<?php

namespace Swoole\Server;

/**
 * @since 4.6.2
 */
class Port
{
    /**
     * @return mixed
     */
    private function __construct()
    {
    }

    /**
     * @return mixed
     */
    public function __destruct()
    {
    }

    /**
     * @param $settings[required]
     *
     * @return mixed
     */
    public function set($settings)
    {
    }

    /**
     * @param $event_name[required]
     * @param $callback[required]
     *
     * @return mixed
     */
    public function on($event_name, $callback)
    {
    }

    /**
     * @param $event_name[required]
     *
     * @return mixed
     */
    public function getCallback($event_name)
    {
    }

    /**
     * @return mixed
     */
    public function getSocket()
    {
    }
}
